package com.hzsxy.bighomework.repository;

import com.hzsxy.bighomework.entity.NotificationDO;
import com.hzsxy.bighomework.entity.QuestionDO;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 张晨 on 2018/11/28.
 */
@Repository
public interface NotificationRepository extends CrudRepository<NotificationDO,Integer> {

    List<NotificationDO> findByAuthor(String author);
}
